// packageA/member/coupon_v2/couponComm/couponInfo/couponInfo.js
const skinBehavior = require("../../../../utils/themeSkin/skinBehavior");
Component({
  /**
   * 组件的属性列表
   */
  behaviors: [skinBehavior],
  options: {
    multipleSlots: true,  // 在组件定义时的选项中启用多slot支持
    addGlobalClass: true
  },
  properties: {
    dataInfo:{
      type:Object,
      default:() => {
        return {}
      }
    },
    image:String
  },

  /**
   * 组件的初始数据
   */
  data: {
    language:{},
  },
  lifetimes:{
    attached: function () {
      let language = wx.getStorageSync("langIndex");
      this.setData({
        language: language.en,
      });
    }
  },
  /**
   * 组件的方法列表
   */
  methods: {

  }
})
